home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsincludes / egb / gbmultiscrollbox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-06  |  2.2 KB  |  75 lines

  1. #ifndef EGS_EGB_GBMULTISCROLLBOX_H
  2. #define EGS_EGB_GBMULTISCROLLBOX_H
  3.  
  4. /***************************************************************************\
  5. *
  6. *  $
  7. *  $ FILE     : gbmultiscrollbox.h
  8. *  $ VERSION  : 1
  9. *  $ REVISION : 2
  10. *  $ DATE     : 08-Dec-93 12:50
  11. *  $
  12. *  $ Author   : mvk
  13. *  $
  14. *
  15. *****************************************************************************
  16. *                                                                           *
  17. * (c) Copyright 1990/94 VIONA Development                                   *
  18. *     All Rights Reserved                                                   *
  19. *                                                                           *
  20. \***************************************************************************/
  21.  
  22. #ifndef         EXEC_TYPES_H
  23. #include        <exec/types.h>
  24. #endif
  25. #ifndef         EGS_EGSINTUI_H
  26. #include        <egs/egsintui.h>
  27. #endif
  28. #ifndef         EGS_EGSGADBOX_H
  29. #include        <egs/egsgadbox.h>
  30. #endif
  31.  
  32. #define EGB_SuperMScrType "SLCT"
  33.  
  34. /* MultiScrollBox Flags */
  35.  
  36. #define EGB_SORTLIST               0x00000001
  37. #define EGB_SHOW_ACTUAL_ELM        0x00000002
  38. #define EGB_HORIZONTAL_SCROLL      0x00000004
  39. #define EGB_LEFT_ORIENTED          0x00000008
  40. #define EGB_NOMULTISELECT          0x00000010
  41. #define EGB_NOVERTIARROWS          0x00000020
  42. #define EGB_NOHORIZARROWS          0x00000040
  43.  
  44. struct EGB_SNode {
  45.        struct Node Node;
  46.        BOOL        Selected;
  47. };
  48.  
  49. typedef struct EGB_SNode *EGB_SNodePtr;
  50.  
  51. struct EGB_MultiScrollGadget {
  52.           struct EI_MasterGadget Master;
  53.        WORD                   PixWidth;
  54.        WORD                   PixHeight;
  55.        WORD                   Width;
  56.        WORD                   Height;
  57.        EB_SPropGadPtr         HScroller;
  58.        EB_SPropGadPtr         VScroller;
  59.        WORD                   LeftText;
  60.        struct List            List;
  61.        EGB_SNodePtr           ActText;
  62.        EGB_SNodePtr           TopText;
  63.        EG_EFontPtr            Font;
  64.        EI_MasterGadPtr        SelGad;
  65.        EI_GadgetPtr           Selects;
  66.        EI_StringGadPtr        String;
  67.        EB_ContextPtr          Con;
  68.        ULONG                  Flags;
  69. };
  70.  
  71. typedef struct EGB_MultiScrollGadget *EGB_MultiScrollGadPtr;
  72.  
  73. #endif /*EGS_EGB_GBMULTISCROLLBOX_H */
  74.  
  75.